package com.abysscore.yachtdesign;

public class TFreeUndoObject {
	private TFreeShip FOwner;
	private String FUndoText;
	private TFreeFileBuffer FUndoData;
    // some other data to be stored
	private boolean FFileChanged;
	private boolean FFilenameSet;
	private String FFilename;
	private TFreeEditMode FEditMode;
	private TDateTime FTime;
	private boolean FIsTempRedoObject;
	
	
	private int FGetMemory() {
		return 0;
	} // calculates the amount of bytes used for each undo object
	private String FGetTime() {
		return FTime.toString();
	}
	private String FGetUndoText() {
		return FUndoText;
	}
	
	
	public void Accept() {
	}
	public TFreeUndoObject(TFreeShip Owner) {
		FOwner = Owner;
	}
	public void Delete() {
	}
	//public destructor Destroy;                    override;
	public void Restore() {
	}
	
	
	public int Memory() { return FGetMemory(); } // calculates the amount of bytes used for each undo object
	public TFreeShip Owner() { return FOwner; }
	public String Time() { return FGetTime(); }
	public TFreeFileBuffer UndoData() { return FUndoData; }
	public String UndoText() { return FGetUndoText(); }
}
